package com.rosh.rpc.server.boot;

import org.springframework.beans.factory.InitializingBean;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Configuration;

@Configuration
public class RpcServerBootstrap implements InitializingBean {

    @Autowired
    private RpcServerRunner rpcServerRunner;


    @Override
    public void afterPropertiesSet() {

        rpcServerRunner.run();
    }
}
